
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="zh_Hans">
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>单对象混入 &#8212; Django 3.2.11.dev 文档</title>
    <link rel="stylesheet" href="../../_static/default.css" type="text/css" />
    <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
    <script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
    <script type="text/javascript" src="../../_static/jquery.js"></script>
    <script type="text/javascript" src="../../_static/underscore.js"></script>
    <script type="text/javascript" src="../../_static/doctools.js"></script>
    <script type="text/javascript" src="../../_static/language_data.js"></script>
    <link rel="index" title="索引" href="../../genindex.html" />
    <link rel="search" title="搜索" href="../../search.html" />
    <link rel="next" title="多对象混入" href="mixins-multiple-object.html" />
    <link rel="prev" title="简单混入" href="mixins-simple.html" />



 
<script src="../../templatebuiltins.js"></script>
<script>
(function($) {
    if (!django_template_builtins) {
       // templatebuiltins.js missing, do nothing.
       return;
    }
    $(document).ready(function() {
        // Hyperlink Django template tags and filters
        var base = "../templates/builtins.html";
        if (base == "#") {
            // Special case for builtins.html itself
            base = "";
        }
        // Tags are keywords, class '.k'
        $("div.highlight\\-html\\+django span.k").each(function(i, elem) {
             var tagname = $(elem).text();
             if ($.inArray(tagname, django_template_builtins.ttags) != -1) {
                 var fragment = tagname.replace(/_/, '-');
                 $(elem).html("<a href='" + base + "#" + fragment + "'>" + tagname + "</a>");
             }
        });
        // Filters are functions, class '.nf'
        $("div.highlight\\-html\\+django span.nf").each(function(i, elem) {
             var filtername = $(elem).text();
             if ($.inArray(filtername, django_template_builtins.tfilters) != -1) {
                 var fragment = filtername.replace(/_/, '-');
                 $(elem).html("<a href='" + base + "#" + fragment + "'>" + filtername + "</a>");
             }
        });
    });
})(jQuery);</script>

  </head><body>

    <div class="document">
  <div id="custom-doc" class="yui-t6">
    <div id="hd">
      <h1><a href="../../index.html">Django 3.2.11.dev 文档</a></h1>
      <div id="global-nav">
        <a title="Home page" href="../../index.html">Home</a>  |
        <a title="Table of contents" href="../../contents.html">Table of contents</a>  |
        <a title="Global index" href="../../genindex.html">Index</a>  |
        <a title="Module index" href="../../py-modindex.html">Modules</a>
      </div>
      <div class="nav">
    &laquo; <a href="mixins-simple.html" title="简单混入">previous</a>
     |
    <a href="../index.html" title="API 参考" accesskey="U">up</a>
   |
    <a href="mixins-multiple-object.html" title="多对象混入">next</a> &raquo;</div>
    </div>

    <div id="bd">
      <div id="yui-main">
        <div class="yui-b">
          <div class="yui-g" id="ref-class-based-views-mixins-single-object">
            
  <div class="section" id="s-single-object-mixins">
<span id="single-object-mixins"></span><h1>单对象混入<a class="headerlink" href="#single-object-mixins" title="永久链接至标题">¶</a></h1>
<div class="section" id="s-singleobjectmixin">
<span id="singleobjectmixin"></span><h2><code class="docutils literal notranslate"><span class="pre">SingleObjectMixin</span></code><a class="headerlink" href="#singleobjectmixin" title="永久链接至标题">¶</a></h2>
<dl class="class">
<dt id="django.views.generic.detail.SingleObjectMixin">
<em class="property">class </em><code class="descclassname">django.views.generic.detail.</code><code class="descname">SingleObjectMixin</code><a class="headerlink" href="#django.views.generic.detail.SingleObjectMixin" title="永久链接至目标">¶</a></dt>
<dd><p>提供一个查找与当前 HTTP 请求相关联的对象的机制。</p>
<p><a href="#id1"><span class="problematic" id="id2">**</span></a>方法和属性*</p>
<dl class="attribute">
<dt id="django.views.generic.detail.SingleObjectMixin.model">
<code class="descname">model</code><a class="headerlink" href="#django.views.generic.detail.SingleObjectMixin.model" title="永久链接至目标">¶</a></dt>
<dd><p>该视图将显示数据的模型。指定 <code class="docutils literal notranslate"><span class="pre">model</span> <span class="pre">=</span> <span class="pre">Foo</span></code> 实际上等于指定 <code class="docutils literal notranslate"><span class="pre">queryset</span> <span class="pre">=</span> <span class="pre">Foo.objects.all()</span></code>，其中 <code class="docutils literal notranslate"><span class="pre">objects</span></code> 代表 <a href="#id1"><span class="problematic" id="id2">``</span></a>Foo``的 <a class="reference internal" href="../../topics/db/managers.html#default-managers"><span class="std std-ref">默认管理器</span></a>。</p>
</dd></dl>

<dl class="attribute">
<dt id="django.views.generic.detail.SingleObjectMixin.queryset">
<code class="descname">queryset</code><a class="headerlink" href="#django.views.generic.detail.SingleObjectMixin.queryset" title="永久链接至目标">¶</a></dt>
<dd><p>代表对象的 <code class="docutils literal notranslate"><span class="pre">QuerySet</span></code>。如果提供，<code class="docutils literal notranslate"><span class="pre">queryset</span></code> 的值将取代为 <a class="reference internal" href="#django.views.generic.detail.SingleObjectMixin.model" title="django.views.generic.detail.SingleObjectMixin.model"><code class="xref py py-attr docutils literal notranslate"><span class="pre">model</span></code></a> 提供的值。</p>
<div class="admonition warning">
<p class="first admonition-title">警告</p>
<p class="last"><code class="docutils literal notranslate"><span class="pre">queryset</span></code> 是一个类属性，它的值是 <em>可变的</em>，所以直接使用它时一定要注意。在使用它之前，要么调用它的 <a class="reference internal" href="../models/querysets.html#django.db.models.query.QuerySet.all" title="django.db.models.query.QuerySet.all"><code class="xref py py-meth docutils literal notranslate"><span class="pre">all()</span></code></a> 方法，要么用 <a class="reference internal" href="#django.views.generic.detail.SingleObjectMixin.get_queryset" title="django.views.generic.detail.SingleObjectMixin.get_queryset"><code class="xref py py-meth docutils literal notranslate"><span class="pre">get_queryset()</span></code></a> 检索它，它在幕后负责克隆。</p>
</div>
</dd></dl>

<dl class="attribute">
<dt id="django.views.generic.detail.SingleObjectMixin.slug_field">
<code class="descname">slug_field</code><a class="headerlink" href="#django.views.generic.detail.SingleObjectMixin.slug_field" title="永久链接至目标">¶</a></dt>
<dd><p>模型上包含 slug 的字段名称。默认情况下，<code class="docutils literal notranslate"><span class="pre">slug_field</span></code> 是 <code class="docutils literal notranslate"><span class="pre">'slug'</span></code>。</p>
</dd></dl>

<dl class="attribute">
<dt id="django.views.generic.detail.SingleObjectMixin.slug_url_kwarg">
<code class="descname">slug_url_kwarg</code><a class="headerlink" href="#django.views.generic.detail.SingleObjectMixin.slug_url_kwarg" title="永久链接至目标">¶</a></dt>
<dd><p>包含 slug 的 URLConf 关键字参数的名称。默认情况下，<code class="docutils literal notranslate"><span class="pre">slug_url_kwarg</span></code> 是 <code class="docutils literal notranslate"><span class="pre">'slug'</span></code>。</p>
</dd></dl>

<dl class="attribute">
<dt id="django.views.generic.detail.SingleObjectMixin.pk_url_kwarg">
<code class="descname">pk_url_kwarg</code><a class="headerlink" href="#django.views.generic.detail.SingleObjectMixin.pk_url_kwarg" title="永久链接至目标">¶</a></dt>
<dd><p>包含主键的 URLConf 关键字参数的名称，默认情况下，<code class="docutils literal notranslate"><span class="pre">pk_url_kwarg</span></code> 是 <code class="docutils literal notranslate"><span class="pre">'pk'</span></code>。</p>
</dd></dl>

<dl class="attribute">
<dt id="django.views.generic.detail.SingleObjectMixin.context_object_name">
<code class="descname">context_object_name</code><a class="headerlink" href="#django.views.generic.detail.SingleObjectMixin.context_object_name" title="永久链接至目标">¶</a></dt>
<dd><p>指定在上下文中使用的变量名称。</p>
</dd></dl>

<dl class="attribute">
<dt id="django.views.generic.detail.SingleObjectMixin.query_pk_and_slug">
<code class="descname">query_pk_and_slug</code><a class="headerlink" href="#django.views.generic.detail.SingleObjectMixin.query_pk_and_slug" title="永久链接至目标">¶</a></dt>
<dd><p>如果 <code class="docutils literal notranslate"><span class="pre">True</span></code>，使 <a class="reference internal" href="#django.views.generic.detail.SingleObjectMixin.get_object" title="django.views.generic.detail.SingleObjectMixin.get_object"><code class="xref py py-meth docutils literal notranslate"><span class="pre">get_object()</span></code></a> 使用主键和 slug 进行查找。默认值为 <code class="docutils literal notranslate"><span class="pre">False</span></code>。</p>
<p>这个属性可以帮助减轻 <a class="reference external" href="https://wiki.owasp.org/index.php/Top_10_2013-A4-Insecure_Direct_Object_References">不安全的直接对象引用</a> 攻击。当应用程序允许通过顺序主键访问单个对象时，攻击者可以粗暴地强行猜测所有 URL，从而获得应用程序中所有对象的列表。如果应该阻止访问单个对象的用户获得这个列表，将 <code class="docutils literal notranslate"><span class="pre">query_pk_and_slug</span></code> 设置为 <code class="docutils literal notranslate"><span class="pre">True</span></code> 将有助于防止URL的猜测，因为每个 URL 需要两个正确的、非顺序的参数。使用唯一的 slug 可以达到同样的目的，但是这个方案允许你使用非唯一的 slug。</p>
</dd></dl>

<dl class="method">
<dt id="django.views.generic.detail.SingleObjectMixin.get_object">
<code class="descname">get_object</code>(<em>queryset=None</em>)<a class="headerlink" href="#django.views.generic.detail.SingleObjectMixin.get_object" title="永久链接至目标">¶</a></dt>
<dd><p>返回该视图要显示的单个对象。如果提供了 <code class="docutils literal notranslate"><span class="pre">queryset</span></code>，将使用该查询集作为对象的来源；否则，将使用 <a class="reference internal" href="#django.views.generic.detail.SingleObjectMixin.get_queryset" title="django.views.generic.detail.SingleObjectMixin.get_queryset"><code class="xref py py-meth docutils literal notranslate"><span class="pre">get_queryset()</span></code></a>。<code class="docutils literal notranslate"><span class="pre">get_object()</span></code> 在视图的参数中寻找一个 <a class="reference internal" href="#django.views.generic.detail.SingleObjectMixin.pk_url_kwarg" title="django.views.generic.detail.SingleObjectMixin.pk_url_kwarg"><code class="xref py py-attr docutils literal notranslate"><span class="pre">pk_url_kwarg</span></code></a> 参数；如果找到这个参数，这个方法就使用这个值执行基于主键的查找。如果没有找到这个参数，则查找 <a class="reference internal" href="#django.views.generic.detail.SingleObjectMixin.slug_url_kwarg" title="django.views.generic.detail.SingleObjectMixin.slug_url_kwarg"><code class="xref py py-attr docutils literal notranslate"><span class="pre">slug_url_kwarg</span></code></a> 参数，并使用 :attr:<a href="#id1"><span class="problematic" id="id2">`</span></a>slug_field <a href="#id3"><span class="problematic" id="id4">`</span></a>执行 slug 查找。</p>
<p>当 <a class="reference internal" href="#django.views.generic.detail.SingleObjectMixin.query_pk_and_slug" title="django.views.generic.detail.SingleObjectMixin.query_pk_and_slug"><code class="xref py py-attr docutils literal notranslate"><span class="pre">query_pk_and_slug</span></code></a> 为 <code class="docutils literal notranslate"><span class="pre">True</span></code> 时，<code class="docutils literal notranslate"><span class="pre">get_object()</span></code> 将使用主键和 slug 进行查找。</p>
</dd></dl>

<dl class="method">
<dt id="django.views.generic.detail.SingleObjectMixin.get_queryset">
<code class="descname">get_queryset</code>()<a class="headerlink" href="#django.views.generic.detail.SingleObjectMixin.get_queryset" title="永久链接至目标">¶</a></dt>
<dd><p>返回用于检索该视图将显示的对象的查询集。默认情况下， <a class="reference internal" href="#django.views.generic.detail.SingleObjectMixin.get_queryset" title="django.views.generic.detail.SingleObjectMixin.get_queryset"><code class="xref py py-meth docutils literal notranslate"><span class="pre">get_queryset()</span></code></a> 返回 <a class="reference internal" href="#django.views.generic.detail.SingleObjectMixin.queryset" title="django.views.generic.detail.SingleObjectMixin.queryset"><code class="xref py py-attr docutils literal notranslate"><span class="pre">queryset</span></code></a> 属性的值，如果它被设置，否则它通过调用 <a class="reference internal" href="#django.views.generic.detail.SingleObjectMixin.model" title="django.views.generic.detail.SingleObjectMixin.model"><code class="xref py py-attr docutils literal notranslate"><span class="pre">model</span></code></a> 属性的默认管理器上的 <code class="docutils literal notranslate"><span class="pre">all()</span></code> 方法来构造一个 <code class="xref py py-class docutils literal notranslate"><span class="pre">querySet</span></code>。</p>
</dd></dl>

<dl class="method">
<dt id="django.views.generic.detail.SingleObjectMixin.get_context_object_name">
<code class="descname">get_context_object_name</code>(<em>obj</em>)<a class="headerlink" href="#django.views.generic.detail.SingleObjectMixin.get_context_object_name" title="永久链接至目标">¶</a></dt>
<dd><p>返回上下文变量名，该变量将用于包含该视图正在操作的数据。如果 <a class="reference internal" href="#django.views.generic.detail.SingleObjectMixin.context_object_name" title="django.views.generic.detail.SingleObjectMixin.context_object_name"><code class="xref py py-attr docutils literal notranslate"><span class="pre">context_object_name</span></code></a> 没有被设置，上下文名称将由查询集组成的模型的 <code class="docutils literal notranslate"><span class="pre">model_name</span></code> 构建。例如，模型 <code class="docutils literal notranslate"><span class="pre">Article</span></code> 的上下文对象将命名为 <code class="docutils literal notranslate"><span class="pre">'article'</span></code>。</p>
</dd></dl>

<dl class="method">
<dt id="django.views.generic.detail.SingleObjectMixin.get_context_data">
<code class="descname">get_context_data</code>(<em>**kwargs</em>)<a class="headerlink" href="#django.views.generic.detail.SingleObjectMixin.get_context_data" title="永久链接至目标">¶</a></dt>
<dd><p>返回用于显示对象的上下文数据。</p>
<p>该方法的基本实现要求视图设置 <code class="docutils literal notranslate"><span class="pre">self.object</span></code> 属性（即使 <code class="docutils literal notranslate"><span class="pre">None</span></code>）。如果你在使用这个混入时没有使用内置视图，请务必这样做。</p>
<p>它返回一个包含这些内容的字典：</p>
<ul class="simple">
<li><code class="docutils literal notranslate"><span class="pre">object</span></code>：该视图显示的对象（<code class="docutils literal notranslate"><span class="pre">self.object</span></code>）。</li>
<li><code class="docutils literal notranslate"><span class="pre">context_object_name</span></code>：<code class="docutils literal notranslate"><span class="pre">self.object</span></code> 也将存储在 <a class="reference internal" href="#django.views.generic.detail.SingleObjectMixin.get_context_object_name" title="django.views.generic.detail.SingleObjectMixin.get_context_object_name"><code class="xref py py-meth docutils literal notranslate"><span class="pre">get_context_object_name()</span></code></a> 返回的名称下，默认为模型名称的小写版本。</li>
</ul>
<div class="admonition-context-variables-override-values-from-template-context-processors admonition">
<p class="first admonition-title">上下文变量覆盖了模板上下文处理程序的值</p>
<p class="last">任何来自 <a class="reference internal" href="#django.views.generic.detail.SingleObjectMixin.get_context_data" title="django.views.generic.detail.SingleObjectMixin.get_context_data"><code class="xref py py-meth docutils literal notranslate"><span class="pre">get_context_data()</span></code></a> 的变量都优先于来自 <a class="reference internal" href="../templates/api.html#subclassing-context-requestcontext"><span class="std std-ref">上下文处理器</span></a> 的上下文变量。例如，如果你的视图将 <a class="reference internal" href="#django.views.generic.detail.SingleObjectMixin.model" title="django.views.generic.detail.SingleObjectMixin.model"><code class="xref py py-attr docutils literal notranslate"><span class="pre">model</span></code></a> 属性设置为 <a class="reference internal" href="../contrib/auth.html#django.contrib.auth.models.User" title="django.contrib.auth.models.User"><code class="xref py py-class docutils literal notranslate"><span class="pre">User</span></code></a>，那么默认的上下文对象名 <code class="docutils literal notranslate"><span class="pre">user</span></code> 将覆盖 <a class="reference internal" href="../templates/api.html#django.contrib.auth.context_processors.auth" title="django.contrib.auth.context_processors.auth"><code class="xref py py-func docutils literal notranslate"><span class="pre">django.contrib.auth.context_processors.auth()</span></code></a> 上下文处理器中的 <code class="docutils literal notranslate"><span class="pre">user</span></code> 变量。使用 <a class="reference internal" href="#django.views.generic.detail.SingleObjectMixin.get_context_object_name" title="django.views.generic.detail.SingleObjectMixin.get_context_object_name"><code class="xref py py-meth docutils literal notranslate"><span class="pre">get_context_object_name()</span></code></a> 来避免冲突。</p>
</div>
</dd></dl>

<dl class="method">
<dt id="django.views.generic.detail.SingleObjectMixin.get_slug_field">
<code class="descname">get_slug_field</code>()<a class="headerlink" href="#django.views.generic.detail.SingleObjectMixin.get_slug_field" title="永久链接至目标">¶</a></dt>
<dd><p>返回一个 slug 字段的名称，用于通过 slug 查找。默认情况下，返回 <a class="reference internal" href="#django.views.generic.detail.SingleObjectMixin.slug_field" title="django.views.generic.detail.SingleObjectMixin.slug_field"><code class="xref py py-attr docutils literal notranslate"><span class="pre">slug_field</span></code></a> 的值。</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="s-singleobjecttemplateresponsemixin">
<span id="singleobjecttemplateresponsemixin"></span><h2><code class="docutils literal notranslate"><span class="pre">SingleObjectTemplateResponseMixin</span></code><a class="headerlink" href="#singleobjecttemplateresponsemixin" title="永久链接至标题">¶</a></h2>
<dl class="class">
<dt id="django.views.generic.detail.SingleObjectTemplateResponseMixin">
<em class="property">class </em><code class="descclassname">django.views.generic.detail.</code><code class="descname">SingleObjectTemplateResponseMixin</code><a class="headerlink" href="#django.views.generic.detail.SingleObjectTemplateResponseMixin" title="永久链接至目标">¶</a></dt>
<dd><p>一个混入类，为对单个对象实例进行操作的视图执行基于模板的响应渲染。要求与之混合的视图提供 <code class="docutils literal notranslate"><span class="pre">self.object</span></code>，即该视图操作的对象实例。<code class="docutils literal notranslate"><span class="pre">self.object</span></code> 通常是，但不要求是 Django 模型的实例。如果视图正在构建一个新的实例，它可能是 <code class="docutils literal notranslate"><span class="pre">None</span></code>。</p>
<p><strong>扩展</strong></p>
<ul class="simple">
<li><a class="reference internal" href="mixins-simple.html#django.views.generic.base.TemplateResponseMixin" title="django.views.generic.base.TemplateResponseMixin"><code class="xref py py-class docutils literal notranslate"><span class="pre">TemplateResponseMixin</span></code></a></li>
</ul>
<p><a href="#id1"><span class="problematic" id="id2">**</span></a>方法和属性*</p>
<dl class="attribute">
<dt id="django.views.generic.detail.SingleObjectTemplateResponseMixin.template_name_field">
<code class="descname">template_name_field</code><a class="headerlink" href="#django.views.generic.detail.SingleObjectTemplateResponseMixin.template_name_field" title="永久链接至目标">¶</a></dt>
<dd><p>当前对象实例上的字段，可用于确定候选模板的名称。如果 <code class="docutils literal notranslate"><span class="pre">template_name_field</span></code> 本身或当前对象实例上的 <code class="docutils literal notranslate"><span class="pre">template_name_field</span></code> 的值为 <code class="docutils literal notranslate"><span class="pre">None</span></code>，则该对象不会被用于候选模板名称。</p>
</dd></dl>

<dl class="attribute">
<dt id="django.views.generic.detail.SingleObjectTemplateResponseMixin.template_name_suffix">
<code class="descname">template_name_suffix</code><a class="headerlink" href="#django.views.generic.detail.SingleObjectTemplateResponseMixin.template_name_suffix" title="永久链接至目标">¶</a></dt>
<dd><p>自动生成的候选模板名称的后缀。默认后缀是 <code class="docutils literal notranslate"><span class="pre">_detail</span></code>。</p>
</dd></dl>

<dl class="method">
<dt id="django.views.generic.detail.SingleObjectTemplateResponseMixin.get_template_names">
<code class="descname">get_template_names</code>()<a class="headerlink" href="#django.views.generic.detail.SingleObjectTemplateResponseMixin.get_template_names" title="永久链接至目标">¶</a></dt>
<dd><p>返回候选模板名称的列表。返回以下列表：</p>
<ul class="simple">
<li>视图中 <code class="docutils literal notranslate"><span class="pre">template_name</span></code> 的值（如果提供）</li>
<li>视图操作的对象实例上的 <code class="docutils literal notranslate"><span class="pre">template_name_field</span></code> 字段的内容（如果有的话）。</li>
<li><code class="docutils literal notranslate"><span class="pre">&lt;app_label&gt;/&lt;model_name&gt;&lt;template_name_suffix&gt;.html</span></code></li>
</ul>
</dd></dl>

</dd></dl>

</div>
</div>


          </div>
        </div>
      </div>
      
        
          <div class="yui-b" id="sidebar">
            
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  <h3><a href="../../contents.html">Table of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">单对象混入</a><ul>
<li><a class="reference internal" href="#singleobjectmixin"><code class="docutils literal notranslate"><span class="pre">SingleObjectMixin</span></code></a></li>
<li><a class="reference internal" href="#singleobjecttemplateresponsemixin"><code class="docutils literal notranslate"><span class="pre">SingleObjectTemplateResponseMixin</span></code></a></li>
</ul>
</li>
</ul>

  <h4>上一个主题</h4>
  <p class="topless"><a href="mixins-simple.html"
                        title="上一章">简单混入</a></p>
  <h4>下一个主题</h4>
  <p class="topless"><a href="mixins-multiple-object.html"
                        title="下一章">多对象混入</a></p>
  <div role="note" aria-label="source link">
    <h3>本页</h3>
    <ul class="this-page-menu">
      <li><a href="../../_sources/ref/class-based-views/mixins-single-object.txt"
            rel="nofollow">显示源代码</a></li>
    </ul>
   </div>
<div id="searchbox" style="display: none" role="search">
  <h3>快速搜索</h3>
    <div class="searchformwrapper">
    <form class="search" action="../../search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="转向" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    </div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
              <h3>Last update:</h3>
              <p class="topless">12月 07, 2021</p>
          </div>
        
      
    </div>

    <div id="ft">
      <div class="nav">
    &laquo; <a href="mixins-simple.html" title="简单混入">previous</a>
     |
    <a href="../index.html" title="API 参考" accesskey="U">up</a>
   |
    <a href="mixins-multiple-object.html" title="多对象混入">next</a> &raquo;</div>
    </div>
  </div>

      <div class="clearer"></div>
    </div>
  </body>
</html>